home *** CD-ROM | disk | FTP | other *** search
Visual Basic class definition | 1999-05-24 | 1.2 KB | 49 lines |
- VERSION 1.0 CLASS
- BEGIN
- MultiUse = -1 'True
- Persistable = 0 'NotPersistable
- DataBindingBehavior = 0 'vbNone
- DataSourceBehavior = 0 'vbNone
- MTSTransactionMode = 0 'NotAnMTSObject
- END
- Attribute VB_Name = "cMDIChild1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = True
- Attribute VB_PredeclaredId = False
- Attribute VB_Exposed = True
- '----------------------------------------------------------------------
- 'MDIChildTest
- 'Copyright (c) Millennium Software AS
- 'Redistribution of Code Prohibited
- '
- 'Finished: 02.03.99 17:59:40
- 'Author: Morten Ladstein (morten@millennium.no)
- 'Company: Millennium Software AS
- 'Web: http://www.millennium.no
- 'Description:
- 'Comments:
- '----------------------------------------------------------------------
-
- Option Explicit
-
- Dim frm As MDIChild1Form
-
- '
- Public Sub Show(hWndMDIParent&, Caption$)
-
- Set frm = New MDIChild1Form
- Load frm
-
- With frm
- .mdiChildDll.hWndMDIParent = hWndMDIParent
- .Caption = Caption
- .mdiChildDll.Load
- .mdiChildDll.UserSpecifiedID = "User Specified ID: " & Caption
- End With
-
- End Sub
-
- Public Sub Destroy()
- Unload frm
- End Sub
-